﻿Module main
    ' Visual Basic
    Sub Main()
        ' Instantiate a new instance of Form1.
        Dim f1 As New Form1()
        ' Display a messagebox. This shows the application is running, 
        ' yet there is nothing shown to the user. This is the point at 
        ' which you customize your form.
        System.Windows.Forms.MessageBox.Show( _
           "The application is running now, but no forms have been shown.")
        ' Customize the form.
        f1.Visible = False
        ' Show the instance of the form modally.
        f1.ShowDialog()
    End Sub
End Module
